package com.xpqh.ksg.common.persistence.model;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 36115
 * @since 2022-07-16
 */
@Getter
@Setter
@TableName("work_store_stock")
public class WorkStoreStock implements  Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 产品id
     */
    @TableField("product_id")
    private Integer productId;
    /**
     * 门店id
     */
    @TableField("con_store_id")
    private String conStoreId;
    /**
     * 库存数量
     */
    private Integer num;

    private String categoryName;

    private String productName;

    private String productPicture;

    private String unitName;

    private String productSeries;


    @Override
    public String toString() {
        return "WorkStoreStock{" +
        "id=" + id +
        ", productId=" + productId +
        ", conStoreId=" + conStoreId +
        ", num=" + num +
        "}";
    }
}
